﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ReturnToFactoryCheckList.aspx.cs" Inherits="WXYW.ReturnToFactoryCheckList" %>
<%@ Register Namespace="WXYW.Controls" TagPrefix="WXYWControl" Assembly="WXYW.Common"%>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    返厂维修服务-待验证 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
<WXYWControl:CustomGridView ID="WaitCheckGridView" runat="server" AutoGenerateColumns="false"
        Width="100%" CssClass="tableList" BorderWidth="1" BorderColor="#888888" 
        AllowPaging="true" 
        onpageindexchanging="WaitCheckGridView_PageIndexChanging" 
        onrowdatabound="WaitCheckGridView_RowDataBound" PageSize="15" OnMustAddARow="GridView_MustAddARow">
        <Columns>
            <asp:TemplateField HeaderImageUrl="~/image/operateicon/button_Select.gif">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="IDLbl" runat="server"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="工厂RMA#" DataField="Code" />
            <asp:TemplateField HeaderText="RMA单号">
                <ItemTemplate>
                    <%#Eval("ApplicationProduct.ApplicationForm.ApplicationCode") %>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="型号">
                <ItemTemplate>
                    <%#Eval("ApplicationProduct.ProductType.ProductTypeName") %>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="故障现象">
                <ItemTemplate>
                    <%#Eval("ApplicationProduct.ProductProblemDescription") %>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="供货商代码">
                <ItemTemplate>
                    <%#Eval("ProvideCode")%>
                </ItemTemplate>
            </asp:TemplateField>      
            <asp:TemplateField HeaderText="返厂申请日期">
                <ItemTemplate>
                    <%#Convert.ToDateTime(Eval("ApplyDate")).ToString("yyyy-MM-dd")%>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="收货确认日期">
                <ItemTemplate>
                    <%#Convert.ToDateTime(Eval("ReceiveDate")).ToString("yyyy-MM-dd")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="状态" DataField="Status" />
            <asp:TemplateField HeaderText="修改">
                <ItemTemplate>
                    <img src="image/operateicon/docedit.gif" />
                    <asp:LinkButton ID="rtfLinkButton" runat="server" OnClick="rtfLinkButton_Click"
                        CommandArgument='<%#Eval("ID") %>'>修改</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </WXYWControl:CustomGridView>
</asp:Content>
